package com.design.prototypepattern.example.bean;

/**
 * @auther LiZiBa
 * @date 2020/8/8 23:18
 * @description:
 **/
public class Course {

    public String courseName;
    public String time;
    public String price;
    public String teacher;

    public Course(String courseName, String time, String price, String teacher) {
        this.courseName = courseName;
        this.time = time;
        this.price = price;
        this.teacher = teacher;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseName='" + courseName + '\'' +
                ", time='" + time + '\'' +
                ", price='" + price + '\'' +
                ", teacher='" + teacher + '\'' +
                '}';
    }
}
